[INFO] cloning repository https://github.com/GirardR1006/Royal-game-of-Ur
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GirardR1006/Royal-game-of-Ur" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirardR1006%2FRoyal-game-of-Ur", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirardR1006%2FRoyal-game-of-Ur'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f8eeb2302d3ac268e6a87503d02cf7ac8daa18f2
[INFO] checking GirardR1006/Royal-game-of-Ur against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirardR1006%2FRoyal-game-of-Ur" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GirardR1006/Royal-game-of-Ur on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/GirardR1006/Royal-game-of-Ur
[INFO] finished tweaking git repo https://github.com/GirardR1006/Royal-game-of-Ur
[INFO] tweaked toml for git repo https://github.com/GirardR1006/Royal-game-of-Ur written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/GirardR1006/Royal-game-of-Ur already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ffe3e118ef4104ae7378a8106aec37418f7c2ca1749716684c832c79b31734ba
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ffe3e118ef4104ae7378a8106aec37418f7c2ca1749716684c832c79b31734ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ffe3e118ef4104ae7378a8106aec37418f7c2ca1749716684c832c79b31734ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffe3e118ef4104ae7378a8106aec37418f7c2ca1749716684c832c79b31734ba", kill_on_drop: false }`
[INFO] [stdout] ffe3e118ef4104ae7378a8106aec37418f7c2ca1749716684c832c79b31734ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c260e84c75ae653d5749c7d919b1ae081034eccb5594583fdc295a14e246737
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4c260e84c75ae653d5749c7d919b1ae081034eccb5594583fdc295a14e246737", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking piston-float v0.3.0
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling proc-macro2 v0.3.8
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking piston-viewport v0.3.0
[INFO] [stderr]    Compiling quote v0.5.2
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]    Compiling syn v0.13.11
[INFO] [stderr]     Checking stb_truetype v0.2.8
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking ordered-float v0.5.2
[INFO] [stderr]     Checking rusttype v0.5.2
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling conrod_derive v0.1.2
[INFO] [stderr]     Checking pistoncore-input v0.21.0
[INFO] [stderr]     Checking conrod v0.61.1
[INFO] [stderr]     Checking royal_game_of_ur v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `p` in this scope
[INFO] [stdout]    --> src/main.rs:224:37
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...                   0 => Ok(p.safe_line[3] = Cell(p.safe_line[3].0,p_id)),
[INFO] [stdout]     |                               ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p` in this scope
[INFO] [stdout]    --> src/main.rs:224:59
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...                   0 => Ok(p.safe_line[3] = Cell(p.safe_line[3].0,p_id)),
[INFO] [stdout]     |                                                     ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p_id` in this scope
[INFO] [stdout]    --> src/main.rs:224:76
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...                   0 => Ok(p.safe_line[3] = Cell(p.safe_line[3].0,p_id)),
[INFO] [stdout]     |                                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p` in this scope
[INFO] [stdout]    --> src/main.rs:225:78
[INFO] [stdout]     |
[INFO] [stdout] 225 | ...                   i => match self.b_line[i-1].check_possible_move(&p) {
[INFO] [stdout]     |                                                                        ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p_id` in this scope
[INFO] [stdout]    --> src/main.rs:228:65
[INFO] [stdout]     |
[INFO] [stdout] 228 | ...                   Cell(self.b_line[i-1].0,p_id)),
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p` in this scope
[INFO] [stdout]    --> src/main.rs:224:37
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...                   0 => Ok(p.safe_line[3] = Cell(p.safe_line[3].0,p_id)),
[INFO] [stdout]     |                               ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p` in this scope
[INFO] [stdout]    --> src/main.rs:224:59
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...                   0 => Ok(p.safe_line[3] = Cell(p.safe_line[3].0,p_id)),
[INFO] [stdout]     |                                                     ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p_id` in this scope
[INFO] [stdout]    --> src/main.rs:224:76
[INFO] [stdout]     |
[INFO] [stdout] 224 | ...                   0 => Ok(p.safe_line[3] = Cell(p.safe_line[3].0,p_id)),
[INFO] [stdout]     |                                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p` in this scope
[INFO] [stdout]    --> src/main.rs:225:78
[INFO] [stdout]     |
[INFO] [stdout] 225 | ...                   i => match self.b_line[i-1].check_possible_move(&p) {
[INFO] [stdout]     |                                                                        ^ help: a local variable with a similar name exists: `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `p_id` in this scope
[INFO] [stdout]    --> src/main.rs:228:65
[INFO] [stdout]     |
[INFO] [stdout] 228 | ...                   Cell(self.b_line[i-1].0,p_id)),
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:159:46
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 match &c.check_possible_move(p) {
[INFO] [stdout]     |                                              ^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&CellVal`
[INFO] [stdout]                found reference `&Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:159:46
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 match &c.check_possible_move(p) {
[INFO] [stdout]     |                                              ^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&CellVal`
[INFO] [stdout]                found reference `&Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:165:46
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 match &c.check_possible_move(p) {
[INFO] [stdout]     |                                              ^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&CellVal`
[INFO] [stdout]                found reference `&Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:165:46
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 match &c.check_possible_move(p) {
[INFO] [stdout]     |                                              ^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&CellVal`
[INFO] [stdout]                found reference `&Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:197:54
[INFO] [stdout]     |
[INFO] [stdout] 197 |                         None => self.place_new_token(p),
[INFO] [stdout]     |                                                      ^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note:      expected reference `&CellVal`
[INFO] [stdout]             found mutable reference `&mut Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `safe_line` on type `&mut Player`
[INFO] [stdout]    --> src/main.rs:201:55
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 Some(idx) => Ok(self.do_move(p,&mut p.safe_line[*idx])),
[INFO] [stdout]     |                                                       ^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `points`, `id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:217:44
[INFO] [stdout]     |
[INFO] [stdout] 217 |                         Ok(target_cell.1 = id)
[INFO] [stdout]     |                                            ^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            expected enum `CellVal`, found `&CellVal`
[INFO] [stdout]     |                                            help: consider dereferencing the borrow: `*id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:197:54
[INFO] [stdout]     |
[INFO] [stdout] 197 |                         None => self.place_new_token(p),
[INFO] [stdout]     |                                                      ^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note:      expected reference `&CellVal`
[INFO] [stdout]             found mutable reference `&mut Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `safe_line` on type `&mut Player`
[INFO] [stdout]    --> src/main.rs:201:55
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 Some(idx) => Ok(self.do_move(p,&mut p.safe_line[*idx])),
[INFO] [stdout]     |                                                       ^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `points`, `id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:217:44
[INFO] [stdout]     |
[INFO] [stdout] 217 |                         Ok(target_cell.1 = id)
[INFO] [stdout]     |                                            ^^
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            expected enum `CellVal`, found `&CellVal`
[INFO] [stdout]     |                                            help: consider dereferencing the borrow: `*id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:297:38
[INFO] [stdout]     |
[INFO] [stdout] 297 |     Game::place_new_token(&mut game, &mut game.p1);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note:      expected reference `&CellVal`
[INFO] [stdout]             found mutable reference `&mut Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:297:38
[INFO] [stdout]     |
[INFO] [stdout] 297 |     Game::place_new_token(&mut game, &mut game.p1);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note:      expected reference `&CellVal`
[INFO] [stdout]             found mutable reference `&mut Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:300:38
[INFO] [stdout]     |
[INFO] [stdout] 300 |     Game::place_new_token(&mut game, &mut game.p2);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note:      expected reference `&CellVal`
[INFO] [stdout]             found mutable reference `&mut Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `royal_game_of_ur`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:300:38
[INFO] [stdout]     |
[INFO] [stdout] 300 |     Game::place_new_token(&mut game, &mut game.p2);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^ expected enum `CellVal`, found struct `Player`
[INFO] [stdout]     |
[INFO] [stdout]     = note:      expected reference `&CellVal`
[INFO] [stdout]             found mutable reference `&mut Player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "4c260e84c75ae653d5749c7d919b1ae081034eccb5594583fdc295a14e246737", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c260e84c75ae653d5749c7d919b1ae081034eccb5594583fdc295a14e246737", kill_on_drop: false }`
[INFO] [stdout] 4c260e84c75ae653d5749c7d919b1ae081034eccb5594583fdc295a14e246737
